import Vue from 'vue'
import Router from 'vue-router'
import elementUi from 'element-ui'
import axios from 'axios'
import HelloWorld from '@/components/HelloWorld'
import Activiti from '@/components/Activiti'
import 'element-ui/lib/theme-chalk/index.css'


Vue.use(Router)
Vue.use(elementUi)
Vue.prototype.$axios=axios
export default new Router({
  routes: [
    {
      path: '/',
      name: 'HelloWorld',
      component: HelloWorld
    },
    {
      path: '/activiti',
      name: 'Activiti',
      component: Activiti
    }
  ]
})
